package com.yl.auth.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yl.auth.entity.Chafangjilu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yl.auth.model.vo.ChaFangVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author L
 * @since 2023-07-19
 */
public interface ChafangjiluMapper extends BaseMapper<Chafangjilu> {

    Page<ChaFangVo> getChangFang(Page<ChaFangVo> page1, @Param("name") String name, @Param("chuangwei") String chuangwei, @Param("jiluTime") Date jiluTime);


    ChaFangVo getLaoren(@Param("id") Integer id);

    ChaFangVo getLaorenshenti(@Param("id") Integer id);

    ChaFangVo getLaorenshengming(@Param("id") Integer id);
}
